// pages/components/underTab/underTab.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    toHome(){
      wx.navigateTo({
        url: '/pages/main/main',
      })
    },
    toClean(){
      wx.navigateTo({
        url: '/pages/main/clean/clean',
      })
    },
    toChat(){
      wx.navigateTo({
        url: '/pages/main/chat/chat',
      })
    },
    toDevice(){
      wx.navigateTo({
        url: '/pages/main/device/device',
      })
    },
    toReward(){
      wx.navigateTo({
        url: '/pages/main/reward/reward',
      })
    },
    toPerson(){
      wx.navigateTo({
        url: '/pages/main/person/person',
      })
    }
  }
})